home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 010 / life.arc / LIFE.DOC < prev   
Encoding:
Text File  |  1984-01-30  |  2.0 KB  |  41 lines

  1.  
  2.  
  3.                                   LIFE
  4.  
  5.  
  6.      This program is based on the John Conway's Game of Life,  a model of 
  7. cellular life.  It operates in the 160 x 100 sixteen color graphics mode; 
  8. therefore,  you  must have the color graphics board and a color  monitor.  
  9. This  mode  is not supported by BIOS or documented in the  IBM  Technical 
  10. Reference Manual.  I have only run this program under DOS 2.0, however it 
  11. may also work under other versions.
  12.  
  13.      The screen is initialized with a random pattern of lit pixels.  Each 
  14. lit  pixel on the screen represents a living cell.   A cell is surrounded 
  15. by eight other cells, in three directions: diagonally, horoizontally, and 
  16. vertically.   In  each generation cells die and grow  simultaneously.   A 
  17. cell dies from over population if it is surrounded by more than 3  living 
  18. cells.   It  will  also  die  of isolation if it has less  than  2  cells 
  19. surrounding it.  New cells can be formed only in empty pixels if and only 
  20. if  it  has 3 cells around it.   The edges of the screen  logically  wrap 
  21. around  to their opposite sides,  for example,  three of the  neighboring 
  22. cells  of a cell on the extreme right side of the screen will be found on 
  23. the extreme left side of the screen.
  24.  
  25.      The  color of a pixel determines how old it is.   A new cell will be 
  26. bright blue.   It will then progress through the following colors: bright 
  27. green,  bright cyan,  bright red,  bright magenta,  bright yellow, bright 
  28. white,  blue, green, cyan, red, magenta, yellow, and white.  After a cell 
  29. turns white, it will turn bright blue again.
  30.  
  31.      Eventually, after at least twenty minutes, the growth pattern of the 
  32. cells will become recursive.   However, if you can't wait that long, just 
  33. press any key and the program will terminate.
  34.  
  35.  
  36.                               Phil Suematsu
  37.                          329 South Merelet Lane
  38.                             Orange, CA 92669
  39.                              (714) 633-0876
  40.  
  41.